home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / OS2 / ROLLBALL.ARJ / ROLLSRC.ZOO / RollBall.h < prev    next >
C/C++ Source or Header  |  1992-07-16  |  2KB  |  52 lines

  1. extern int      main(void);
  2. extern int      Draw_Initialize(void);
  3. extern void     Playground_Initialize(void);
  4. extern void     Draw_Thread(ULONG ulThreadArg);
  5.  
  6.                     /* Window defines */
  7. #define        ID_WINDOW    256
  8. #define        ID_POINTER    257
  9. #define        BM_ABOUT    258    /* About dialogbox bitmap */
  10. #define         BM_RB        259    /* RollBall bitmap */
  11. #define         BM_LX           260     /* \ bitmap */
  12. #define         BM_RX           261     /* / bitmap */
  13. #define         BM_HOLE         262     /* Hole bitmap */
  14. #define         BM_BP           263     /* Blue point bitmap */
  15. #define         BM_GP           264     /* Green point bitmap */
  16. #define         BM_MP           265     /* Magenta point bitmap */
  17. #define         BM_VP           266     /* Violett point bitmap */
  18. #define         OS2LOGO         267     /* Intro logo bitmap */
  19.  
  20. #define        ID_ABOUTDIALOG    270    /* Dialog box identifiers */
  21. #define        ID_SCOREDIALOG    271
  22.  
  23. #define        MSGBOXID    300
  24.                     /* Menu OPTIONS defines */
  25. #define        ID_OPTIONS    400
  26. #define        ID_ABOUT    401
  27. #define        ID_SCORE    402
  28. #define         ID_STARTTHREAD  403
  29. #define         ID_STOPTHREAD   404
  30. #define         ID_PAUSETHREAD  405
  31. #define        ID_EXITPROGRAM    406
  32.  
  33. #define         RB_X            42      /* The size of the playing ground */
  34. #define         RB_Y            27
  35. #define         RB_SIZE         15      /* A field is 15x15 pels sized */
  36.  
  37.                                         /* DrawThread messages */
  38. #define         DT_EXIT         WM_USER+1
  39. #define         DT_PAINT        WM_USER+2
  40. #define         DT_INITIALIZE   WM_USER+3
  41. #define         DT_LBUTTON      WM_USER+4
  42. #define         DT_RBUTTON      WM_USER+5
  43. #define         DT_IDLE         WM_USER+6
  44.  
  45. extern HAB      hab;
  46. extern HWND     hwndFrame,hwndClient;
  47. extern PSZ      pszErrMsg;
  48. extern HMQ      hmqDT;
  49. extern TID      tidDT;
  50. extern BOOL     runRB;
  51. extern ULONG    RB_Point[];
  52.